package cn.caidabao.camunda_demo.pojo.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
    * 
    * </p>
*
* @author cai
* @since 2024-07-16
*/
    @Getter
    @Setter
    @TableName("t_cai_process")
    public class TCaiProcess implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 流程主键
     */
    @TableId("processId")
    @TableField(value = "processId")
    private Long processId;

    /**
     * 流程内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 流程类型
     */
    @TableField(value = "processType")
    private String processType;

    @TableField(value = "createTime",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "updateTime",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(value = "createBy")
    private Long createBy;

    @TableField(value = "updateBy")
    private Long updateBy;

    /**
     * camunda对应的流程实例id
     */
    @TableField(value = "camundaProcessInstanceId")
    private String camundaProcessInstanceId;

    /**
     * 所属者
     */
    @TableField(value = "ownerId")
    private String ownerId;

    /**
     * 所属类型
     */
    @TableField(value = "ownerType")
    private String ownerType;

    @TableField(value = "isDel")
    private Integer isDel;

    /**
     * 表单标识
     */
    @TableField(value = "caiFormTag")
    private String caiFormTag;

    /**
     * 表单类型，0数据库，1java类型
     */
    @TableField(value = "caiFormType")
    private Integer caiFormType;
}